home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 14 / CU Amiga Magazine's Super CD-ROM 14 (1997)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1997-09].iso / CUCD / Sound / SampleX / doc / un2xff.doc < prev   
Encoding:
Text File  |  1997-06-05  |  2.1 KB  |  79 lines

  1.  
  2. un2xff converts a sample from unknown or raw format to the native Exiff
  3. format used by Sample-X. It takes the following arguments.
  4.  
  5.   -i
  6.  
  7.   Specifies one or more files containing raw samples. If creating a stereo
  8.   (type 2) sample, then all samples which appear on the right side should
  9.   be listed after all the samples for the right side.
  10.  
  11.   -l
  12.  
  13.   Gives the length of each sample specified with -i argument. A sample
  14.   length must be even, otherwise un2xff complains. The number of lengths
  15.   given should equal the number of raw samples. The exception here is if
  16.   a stereo (type 2) sample is created. Since the length of the left side
  17.   raw sample is assumed to be the same as the right side raw sample, it's
  18.   only necessary to specify half the number of lengths. 
  19.  
  20.   -o
  21.  
  22.   Name of the output file
  23.  
  24.   -t
  25.  
  26.   The output sample can be of type 0 - mono, 1 - p-stereo, or 2 - stereo
  27.  
  28.   [-s]
  29.  
  30.   Specifies the playback source of a sample 0 - Chip RAM, 1 - Fast RAM,
  31.   2 - Disk sample
  32.  
  33.   [-w]
  34.  
  35.   A boolean flag indicating that sample is of  wave type (1) or is not (0).
  36.   Cannot have disk samples of wave type.
  37.  
  38.   [-f]
  39.  
  40.   Specifies a frequency otherwise the default value (14000) is used
  41.  
  42.   [-ls]
  43.  
  44.   Causes the sample to loop. The actual integer value gives the start point
  45.   of looping, which is an offset value from the start of the loop. Use 
  46.   -ls 0   to loop from beginning of sample. Cannot loop disk samples.
  47.  
  48.   [-ll]
  49.  
  50.   Gives the length of the looping section.
  51.  
  52.   [-U]
  53.  
  54.   Gives the usage for un2xff
  55.  
  56.  
  57. Examples
  58. --------
  59.  
  60. un2xff -i bass.raw -o bass.xff -l 250 -t 0               (mono sample)
  61.  
  62. un2xff -i piano_left.raw piano_right.raw -l 12000        (stereo sample)
  63.        -o piano.xff -t 2 -p 180
  64.  
  65.  
  66. un2xff -i bleep1.raw bleep2.raw -l 3456 7800             (mono wave)
  67.        -o bleep.xff -t 0 -w 1
  68.  
  69.  
  70. un2xff -i wave1_left wave2_left wave1_right wave2_right  (stereo wave)
  71.        -l 2600 3450 -o wave.xff -w 1 -p 180
  72.  
  73. un2xff -i u2_concert_left.raw u2_concert_right.raw 
  74.        -o u2.xff -l 1000000 -t 2 -s 2                    (stereo disk sample)
  75.  
  76.  
  77. un2xff -i bb.raw -l 54342 -o bb.xff -t 1 -ll 0           (looped pseudo)
  78.                                                          (stereo)
  79.